export default {
  userList: () =>  {
    return {
      "total": 5,
      "rows": [
        {
          "createBy": "admin",
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "超级管理员",
          "userId": 1,
          "deptId": 202,
          "userName": "admin",
          "nickName": "超级管理员",
          "email": "",
          "phonenumber": "",
          "sex": "1",
          "avatar": "/images/blob_20230414180732A002.png",
          "password": null,
          "status": "0",
          "delFlag": "0",
          "loginIp": "127.0.0.1",
          "loginDate": "2023-04-10T16:58:56.000+08:00",
          "dept": {
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "remark": null,
            "deptId": 202,
            "parentId": null,
            "ancestors": null,
            "deptName": "系统用户",
            "orderNum": null,
            "leader": null,
            "phone": null,
            "email": null,
            "status": null,
            "delFlag": null,
            "parentName": null,
            "children": []
          },
          "roles": [],
          "roleIds": null,
          "postIds": null,
          "roleId": null,
          "groupIds": null,
          "regType": 0,
          "auditStatus": 1,
          "admin": true
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "管理员",
          "userId": 2,
          "deptId": 202,
          "userName": "ry",
          "nickName": "管理员",
          "email": "",
          "phonenumber": "",
          "sex": "0",
          "avatar": "",
          "password": null,
          "status": "0",
          "delFlag": "0",
          "loginIp": "127.0.0.1",
          "loginDate": "2023-04-10T16:58:56.000+08:00",
          "dept": {
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "remark": null,
            "deptId": 202,
            "parentId": null,
            "ancestors": null,
            "deptName": "系统用户",
            "orderNum": null,
            "leader": null,
            "phone": null,
            "email": null,
            "status": null,
            "delFlag": null,
            "parentName": null,
            "children": []
          },
          "roles": [],
          "roleIds": null,
          "postIds": null,
          "roleId": null,
          "groupIds": null,
          "regType": 0,
          "auditStatus": 1,
          "admin": false
        },
        {
          "createBy": "ceshi1",
          "createTime": "2023-04-20 09:49:13",
          "updateBy": null,
          "updateTime": null,
          "remark": null,
          "userId": 3,
          "deptId": 201,
          "userName": "ceshi1",
          "nickName": "测试1",
          "email": "123@123.com",
          "phonenumber": "13312341234",
          "sex": "0",
          "avatar": "",
          "password": null,
          "status": "0",
          "delFlag": "0",
          "loginIp": "",
          "loginDate": null,
          "dept": {
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "remark": null,
            "deptId": 201,
            "parentId": null,
            "ancestors": null,
            "deptName": "系统用户",
            "orderNum": null,
            "leader": null,
            "phone": null,
            "email": null,
            "status": null,
            "delFlag": null,
            "parentName": null,
            "children": []
          },
          "roles": [],
          "roleIds": null,
          "postIds": null,
          "roleId": null,
          "groupIds": null,
          "regType": 1,
          "auditStatus": 2,
          "admin": false
        },
        {
          "createBy": "ceshi2",
          "createTime": "2023-04-20 09:53:32",
          "updateBy": null,
          "updateTime": null,
          "remark": null,
          "userId": 4,
          "deptId": 201,
          "userName": "ceshi2",
          "nickName": "测试2",
          "email": "",
          "phonenumber": "",
          "sex": "0",
          "avatar": "",
          "password": null,
          "status": "0",
          "delFlag": "0",
          "loginIp": "",
          "loginDate": null,
          "dept": {
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "remark": null,
            "deptId": 201,
            "parentId": null,
            "ancestors": null,
            "deptName": "系统用户",
            "orderNum": null,
            "leader": null,
            "phone": null,
            "email": null,
            "status": null,
            "delFlag": null,
            "parentName": null,
            "children": []
          },
          "roles": [],
          "roleIds": null,
          "postIds": null,
          "roleId": null,
          "groupIds": null,
          "regType": 1,
          "auditStatus": 1,
          "admin": false
        },
        {
          "createBy": "ceshi3",
          "createTime": "2023-04-20 11:46:14",
          "updateBy": null,
          "updateTime": null,
          "remark": null,
          "userId": 5,
          "deptId": 201,
          "userName": "ceshi3",
          "nickName": "ceshi3",
          "email": "",
          "phonenumber": "13412341234",
          "sex": "0",
          "avatar": "",
          "password": null,
          "status": "0",
          "delFlag": "0",
          "loginIp": "",
          "loginDate": null,
          "dept": {
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "remark": null,
            "deptId": 201,
            "parentId": null,
            "ancestors": null,
            "deptName": "系统用户",
            "orderNum": null,
            "leader": null,
            "phone": null,
            "email": null,
            "status": null,
            "delFlag": null,
            "parentName": null,
            "children": []
          },
          "roles": [],
          "roleIds": null,
          "postIds": null,
          "roleId": null,
          "groupIds": null,
          "regType": 1,
          "auditStatus": 2,
          "admin": false
        }
      ],
      "code": 200,
      "msg": "查询成功"
    }
  },
  deptTree: () => {
    return {
      "msg": "操作成功",
      "code": 200,
      "data": [
        {
          "id": 100,
          "label": "安全风险评估平台",
          "children": [
            {
              "id": 202,
              "label": "系统用户"
            }
          ]
        }
      ]
    }
  },
  initPassword: () =>  {
    return {
      "msg":"123456",
      "code":200
    }
  },
  systemUser: () => {
    return {
      "msg": "操作成功",
      "code": 200,
      "roles": [
        {
          "createBy": null,
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "系统管理员角色",
          "roleId": 2,
          "roleName": "系统管理员",
          "roleKey": "sysadmin",
          "roleSort": 2,
          "dataScope": "2",
          "menuCheckStrictly": true,
          "deptCheckStrictly": true,
          "status": "0",
          "delFlag": "0",
          "flag": false,
          "menuIds": null,
          "deptIds": null,
          "permissions": null,
          "admin": false
        },
      ],
      "groups": [
        {
          "createBy": "admin",
          "createTime": "2023-04-20 18:29:19",
          "updateBy": "",
          "updateTime": null,
          "remark": "1",
          "groupId": "1648997261955198978",
          "groupName": "1",
          "groupSort": 1,
          "roleIds": "2,100",
          "status": "0"
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-20 18:30:04",
          "updateBy": "admin",
          "updateTime": "2023-04-21 09:47:12",
          "remark": "2",
          "groupId": "1648997453228044289",
          "groupName": "2",
          "groupSort": 2,
          "roleIds": "100",
          "status": "0"
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-21 09:46:33",
          "updateBy": "admin",
          "updateTime": "2023-05-08 09:42:44",
          "remark": "3",
          "groupId": "1649228092003729410",
          "groupName": "3",
          "groupSort": 3,
          "roleIds": "",
          "status": "0"
        }
      ],
      "posts": [
        {
          "createBy": "admin",
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "",
          "postId": 1,
          "postCode": "ceo",
          "postName": "董事长",
          "postSort": 1,
          "status": "0",
          "flag": false
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "",
          "postId": 2,
          "postCode": "se",
          "postName": "项目经理",
          "postSort": 2,
          "status": "0",
          "flag": false
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "",
          "postId": 3,
          "postCode": "hr",
          "postName": "人力资源",
          "postSort": 3,
          "status": "0",
          "flag": false
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "",
          "postId": 4,
          "postCode": "user",
          "postName": "普通员工",
          "postSort": 4,
          "status": "0",
          "flag": false
        }
      ]
    }
  },
  userEdit: () => {
    return {
      "msg": "操作成功",
      "code": 200,
      "roleIds": [
        2
      ],
      "data": {
        "createBy": "admin",
        "createTime": "2023-04-10 16:58:56",
        "updateBy": null,
        "updateTime": null,
        "remark": "管理员",
        "userId": 2,
        "deptId": 202,
        "userName": "ry",
        "nickName": "管理员",
        "email": "",
        "phonenumber": "",
        "sex": "0",
        "avatar": "",
        "password": "$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2",
        "status": "0",
        "delFlag": "0",
        "loginIp": "127.0.0.1",
        "loginDate": "2023-04-10T16:58:56.000+08:00",
        "dept": {
          "createBy": null,
          "createTime": null,
          "updateBy": null,
          "updateTime": null,
          "remark": null,
          "deptId": 202,
          "parentId": 100,
          "ancestors": "0,100",
          "deptName": "系统用户",
          "orderNum": 1,
          "leader": null,
          "phone": null,
          "email": null,
          "status": "0",
          "delFlag": null,
          "parentName": null,
          "children": []
        },
        "roles": [
          {
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "remark": null,
            "roleId": 2,
            "roleName": "系统管理员",
            "roleKey": "sysadmin",
            "roleSort": 2,
            "dataScope": "2",
            "menuCheckStrictly": false,
            "deptCheckStrictly": false,
            "status": "0",
            "delFlag": null,
            "flag": false,
            "menuIds": null,
            "deptIds": null,
            "permissions": null,
            "admin": false
          }
        ],
        "roleIds": null,
        "postIds": null,
        "roleId": null,
        "groupIds": null,
        "regType": 0,
        "auditStatus": 1,
        "admin": false
      },
      "postIds": [],
      "roles": [
        {
          "createBy": null,
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "系统管理员角色",
          "roleId": 2,
          "roleName": "系统管理员",
          "roleKey": "sysadmin",
          "roleSort": 2,
          "dataScope": "2",
          "menuCheckStrictly": true,
          "deptCheckStrictly": true,
          "status": "0",
          "delFlag": "0",
          "flag": false,
          "menuIds": null,
          "deptIds": null,
          "permissions": null,
          "admin": false
        },
      ],
      "groupIds": [],
      "groups": [
        {
          "createBy": "admin",
          "createTime": "2023-04-20 18:29:19",
          "updateBy": "",
          "updateTime": null,
          "remark": "1",
          "groupId": "1648997261955198978",
          "groupName": "1",
          "groupSort": 1,
          "roleIds": "2,100",
          "status": "0"
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-20 18:30:04",
          "updateBy": "admin",
          "updateTime": "2023-04-21 09:47:12",
          "remark": "2",
          "groupId": "1648997453228044289",
          "groupName": "2",
          "groupSort": 2,
          "roleIds": "100",
          "status": "0"
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-21 09:46:33",
          "updateBy": "admin",
          "updateTime": "2023-05-08 09:42:44",
          "remark": "3",
          "groupId": "1649228092003729410",
          "groupName": "3",
          "groupSort": 3,
          "roleIds": "",
          "status": "0"
        }
      ],
      "posts": [
        {
          "createBy": "admin",
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "",
          "postId": 1,
          "postCode": "ceo",
          "postName": "董事长",
          "postSort": 1,
          "status": "0",
          "flag": false
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "",
          "postId": 2,
          "postCode": "se",
          "postName": "项目经理",
          "postSort": 2,
          "status": "0",
          "flag": false
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "",
          "postId": 3,
          "postCode": "hr",
          "postName": "人力资源",
          "postSort": 3,
          "status": "0",
          "flag": false
        },
        {
          "createBy": "admin",
          "createTime": "2023-04-10 16:58:56",
          "updateBy": null,
          "updateTime": null,
          "remark": "",
          "postId": 4,
          "postCode": "user",
          "postName": "普通员工",
          "postSort": 4,
          "status": "0",
          "flag": false
        }
      ]
    }
  }
}
